package mapper

func (m MapperQuery) SelectWithMapper(asName string, q MapperQuery) *MapperQuery {
	m.selectWithMapperList = append(m.selectWithMapperList, q)
	m.selectWithMapperListAsName = append(m.selectWithMapperListAsName, asName)
	return &m
}

func (m MapperQuery) Select(clos ...string) *MapperQuery {

	m.selectList = append(m.selectList, clos...)

	return &m
}

// 排除基准表中字段
func (m MapperQuery) ExcludeSelect(clos ...string) *MapperQuery {

	m.excludeSelect = append(m.excludeSelect, clos...)

	return &m
}
